</div>
<div id="panel">
	<div id="sbox" class="sbox-top">
		<div class="sbox-bot">梧桐码头现在还是Beta版，正在不断完善。</div>
		<div class="sbox-int"><a href="#">登录注册</a><br/>登录后可发帖&nbsp;&bull;&nbsp;参与讨论</div>
	</div>
    <div id="sbox">
		<div class="sbox-tab">NODES</div>
		<div class="sbox-node">
			<?php $this->widget('Widget_Metas_Tag_Cloud', array('sort' => 'count', 'ignoreZeroCount' => true, 'desc' => true, 'limit' => 20))->to($tags); ?> 
            <?php if($tags->have()): ?>
            <?php while ($tags->next()): ?>
            <a href="<?php $tags->permalink(); ?>" rel="tag" class="bu tt on"><?php $tags->name(); ?></a>
            <?php endwhile; ?>
            <?php else: ?>
            <li><?php _e('没有任何标签'); ?></li>
            <?php endif; ?>
		</div>
	</div>
	<div id="sbox">
    	<?php if ($this->is('index')) { ?>
        	<div class="sbox-tab">热门帖子</div>
       		<ul class="sbox-item">
				<?php echo UYan_Plugin::getHotPosts(); ?>            
            </ul>
    	<?php } else { ?>
    		<div class="sbox-tab">最近新帖</div>
       		<ul class="sbox-item">
				<?php $this->widget('Widget_Contents_Post_Recent')
                	->parse('<li><a href="{permalink}">{title}</a></li>'); ?>
            </ul>   
		<?php } ?>
    </div>
</div>
<div class="body-clear"></div>
</div>
</div>